﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DAO
{
    public class VeDB
    {
        DataProvider dp = new DataProvider();
        public string dLayGiaVe(string buoi, string ngaythuong, string doituong)
        {
            string sql = "SELECT GiaVe FROM LoaiVe WHERE (Buoi = N'" + buoi + "') AND (NgayThuong = N'" + ngaythuong + "') AND (DoiTuong = N'" + doituong + "')";
            return dp.ExecuteScalar_(sql);
        }
    }
}
